package com.bo.service;

import com.bo.pojo.User;

import java.sql.Connection;
import java.sql.SQLException;

public interface UserService {
    //用户登录
    public User login(String userCode, String password);

    //修改密码
    public boolean updatePwd(int id, String password);

    //根据用户名或角色查询用户总数
    public int getUserCount(String username, int userRole);
}
